package com.qhhc.hospital.service;

import com.qhhc.hospital.entity.Bed;

import java.util.List;

public interface IBedService {
    
    int insert(Bed bed);
    
    List<Bed> selectAll();
    
    Bed selectById(Integer bId);
    
    List<Bed> selectByPatientId(Integer pId);
    
    List<Bed> selectByDoctorId(Integer dId);
    
    int update(Bed bed);
    
    int delete(Integer bId);
} 